package com.ruoyi.web.mapper;

import java.util.List;
import com.ruoyi.web.domain.History;

/**
 * historyMapper接口
 *
 * @author ruoyi
 * @date 2024-04-27
 */
public interface HistoryMapper
{
    /**
     * 查询history
     *
     * @param id history主键
     * @return history
     */
    public History selectHistoryById(Long id);

    /**
     * 查询history列表
     *
     * @param history history
     * @return history集合
     */
    public List<History> selectHistoryList(History history);

    /**
     * 新增history
     *
     * @param history history
     * @return 结果
     */
    public int insertHistory(History history);

    /**
     * 修改history
     *
     * @param history history
     * @return 结果
     */
    public int updateHistory(History history);

    /**
     * 删除history
     *
     * @param id history主键
     * @return 结果
     */
    public int deleteHistoryById(Long id);

    /**
     * 批量删除history
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteHistoryByIds(Long[] ids);
}
